package cave.ui;

public class UiUtils {

	public static boolean isPosOnItem(float posX, float posY, float itemX, 
			float itemY, float itemWidth, float itemHeight) {
		if (posX > itemX && posX < itemX + itemWidth &&
				posY > itemY && posY < itemY + itemHeight) {
			return true;
		}
		return false;
	}
	
}
